package top.tangyh.lamp.care.vo.result;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.basic.base.entity.Entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@Schema(description ="执行用药回参类")
public class ExeYaoOutVO extends Entity<Long> {

    private Long masterId;
    /**
     * 需要组合成一个以+拼接的药名
     */
    @Schema(description ="总的药名")
    private String medicationName;

    @Schema(description ="医嘱类型 长期 临时等")
    private String conditionIdent;

    @Schema(description ="药物分组id")
    private String groupId;

    @Schema(description ="频次")
    private String repeatIdent;

    @Schema(description ="药品剂量")
    private String amount;

    @Schema(description ="剂量单位")
    private String amountUnit;

    @Schema(description ="药品规格")
    private String spec;

    @Schema(description ="用药方式")
    private String routeIdent;

    @Schema(description ="用药途径")
    private String wayIdent;

    @Schema(description ="用药通道")
    private String channelIdent;

    @Schema(description ="计划执行时间")
    private LocalDateTime planTime;

    @Schema(description ="开始时间")
    private LocalDateTime startTimestamp;

    @Schema(description ="结束时间")
    private LocalDateTime endTimestamp;

    @Schema(description ="计划结束时间")
    private Long planEndTimestamp;

    @Schema(description ="总量")
    private Double totalCounts;

    @Schema(description ="已用量")
    private Double usedCounts;

    @Schema(description ="剩余量")
    private Double otherCounts;

    @Schema(description ="甘特图执行状态")
    private String exeStatus;

    @Schema(description ="当前速度")
    private Integer currentSpeed;

    @Schema(description ="医生姓名(开具人)")
    private String doctorName;

    @Schema(description ="下医嘱时间")
    private Date operaTime;

    @Schema(description ="药物的状态更改时间")
    private LocalDateTime yaoExeTime;

    @Schema(description ="药物的当前状态")
    private String yaoStatus;

    @Schema(description ="药物的实际使用量")
    private BigDecimal yaoUsedCounts;

    @Schema(description ="执行用药事件集合")
    private List<ExeYaoEventOutVO> eventList;

    @Schema(description ="药物信息集合")
    private List<ExeYaoShortOutVO> yaoList;

    @Schema(description ="入量类型")
    private Integer inputType;

    @Schema(description ="是否显示到特护单")
    private Integer isShowCare;

    private String remarks;

    @Schema(description ="单签名")
    private String signature1;

    @Schema(description ="是否自定义  是否自定义，1是自定义（自定义包含补录用药添加的和出入量那边添加的），默认0  ；是否带 执 0是 1否 ")
    private Integer isDiy;


    @Schema(description ="双签名")
    private String signature2;

    @Schema(description ="打印剂量")
    private String dyAmount;

    @Schema(description ="打印剂量单位")
    private String dyAmountUnit;


}
